An Implementation Model of the Typed -calculus Based on Linear Chemical Abstract Machine
نویسندگان
چکیده
Abramsky's Linear Chemical Abstract Machine is a term calculus which corresponds to Linear Logic, via the Curry-Howard iso-morphism. We show that the typed-calculus is embedded into Linear Chemical Abstract Machine by Girard's embedding of Intuitionistic Logic into Linear Logic. Then we extend our result to a simple functional programming language obtained from the typed-calculus by adding constants from PCF. We show that the call-by-value evaluation of terms of ground types (Booleans and Natural numbers) are preserved and re-ected by this translation. Finally, we discuss an operational perspective of our result. We give a sequential execution model of Linear CHAM based on Abramsky's idea of a stack of coequations and a name queue, and then we consider a concurrent multi-thread implementation of the model.
منابع مشابه
An Implementation of the Call-By-Name -Calculus
We describe an experimental, low-level implementation of the -calculus. The implementation is based on a Krivine-style abstract machine, which is in turns derived from a simple CPS semantics. Parigot’s -calculus was originally invented as a proof-term calculus for classical logic [2]. One can also regard it as a prototypical call-by-name programming language with control primitives. However, it...
متن کاملSemantic Evaluation, Intersection Types and Complexity of Simply Typed Lambda Calculus
Consider the following problem: given a simply typed lambda term of Boolean type and of order r, does it normalize to “true”? A related problem is: given a term M of word type and of order r together with a finite automaton D, does D accept the word represented by the normal form of M? We prove that these problems are n-EXPTIME complete for r = 2n + 2, and n-EXPSPACE complete for r = 2n+ 3. Whi...
متن کاملComputational Interpretations of Linear Logic
We study Girard's Linear Logic from the point of view of giving a concrete computational interpretation of the logic, based on the Curry-Howard isomorphism. In the case of Intuitionistic Linear Logic, this leads to a reenement of the lambda calculus, giving ner control over order of evaluation and storage allocation, while maintaining the logical content of programs as proofs, and computation a...
متن کاملA Calculus for Interaction Nets Based on the Linear Chemical Abstract Machine
Interaction nets are graph rewriting systems which are a generalisation of proof nets for classical linear logic. The linear chemical abstract machine (CHAM) is a term rewriting system which corresponds to classical linear logic, via the Curry-Howard isomorphism. We can obtain a textual calculus for interaction nets which is surprisingly similar to linear CHAM based on the multiplicative fragme...
متن کاملA Probabilistic Forest-to-String Model for Language Generation from Typed Lambda Calculus Expressions
This paper describes a novel probabilistic approach for generating natural language sentences from their underlying semantics in the form of typed lambda calculus. The approach is built on top of a novel reduction-based weighted synchronous context free grammar formalism, which facilitates the transformation process from typed lambda calculus into natural language sentences. Sentences can then ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2001